<include file="Public:header" />
<!--修改会员信息-->
<form id="info_form" action="{:U('User/pic')}" method="post" enctype="multipart/form-data">
<div class="pad_lr_10">
	<div class="col_tab">
		<ul class="J_tabs tab_but cu_li">
			<li class="current">会员信息</li>
            <li><a href="{:U('User/index')}">返回列表</a></li>
		</ul>
		<div class="J_panes">
			<div class="content_list pad_10">
				<table width="100%" cellspacing="0" class="table_form">
		            <tr>
						<th style="width: 100px">ID/真实姓名 :</th>
						<td>
							{$info.id} / {$info.true_name}
                        </td>
					</tr>
                    <tr>
                        <th>现在的头像 :</th>
                        <td>
                           <img src="{$info.head_ico}" width="100" height="100">
                        </td>
                    </tr>
                    <tr>
                        <th>要更改的头像 :</th>
                        <td>
                            <php>if($info['head_icotemp']){</php>
                            <img src="{$info.head_icotemp}" width="100" height="100">
                            <php>}else{</php>
                            没有要审核的头像
                            <php>}</php>
                        </td>
                    </tr>
                    <tr>
                        <th>审核 :</th>
                        <td>
                            <label><input type="radio" name="head_status" class="radio_style" value="1" <if condition="$info['head_status'] eq '1'">checked="checked"</if>> 通过 </label>&nbsp;&nbsp;
                            <label><input type="radio" name="head_status" class="radio_style" value="0" <if condition="$info['head_status'] eq '0'">checked="checked"</if>> 不通过</label>
                        </td>
                    </tr>
                    <input type="hidden" name="id" value="{$info.id}"/>
				</table>
            </div>
        </div>
		<div class="mt10"><input type="submit" value="{:L('submit')}" id="dosubmit" name="dosubmit" class="btn btn_submit" style="margin:0 0 10px 100px;"><br /><br /><br /></div>
	</div>
</div>
</form>
<include file="Public:footer" />
<script>
    $('.J_cate_select').cate_select('请选择');

</script>
<script src="__STATIC__/js/formvalidator.js"></script>
<script>
    $(function(){
        $.formValidator.initConfig({formid:"info_form",autotip:true});
        $("#J_cate_id").formValidator({onshow:"请选择分类",onfocus:"请选择分类"}).regexValidator({regexp:"intege1",datatype:"enum",onerror:"请选择分类"});
        $("#username").formValidator({onshow:'请填写用户名',onfocus:'用户名应由3-16个字母或数字组成'}).inputValidator({min:3,onerror:'至少为3个字符'}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"用户名格式不正确"});
        $("#email").formValidator({onshow:"请输入邮箱",onfocus:"邮箱格式错误",oncorrect:"邮箱格式正确"}).inputValidator({min:2,max:32,onerror:"邮箱应该为2-32位之间"}).regexValidator({regexp:"email",datatype:"enum",onerror:"邮箱格式错误"});

    });

</script>
</body>
</html>